package com.hrm.dao;

import java.util.List;
import java.util.Map;
import com.hrm.entity.RsRelationship;

public interface RsRelationshipMapper {

	public int deleteRsRelationshipById(long id);

	public RsRelationship selectRsRelationshipById(long id);

	public List<RsRelationship> selectRsRelationshipByMap(Map<String,Object> map);

	public List<RsRelationship> selectRsRelationship(RsRelationship rsRelationship);

	public List<RsRelationship> selectAllRsRelationship();

	public int insertRsRelationship(RsRelationship rsRelationship);

	public int updateRsRelationship(RsRelationship rsRelationship);

	public int deleteRsRelationship(RsRelationship rsRelationship);

	public int updateRsRelationshipByMap(Map<String,Object> map);

	public int deleteRsRelationshipByMap(Map<String,Object> map);
	public int getAllRsRelationshipCounts();
	public int getRsRelationshipCounts(RsRelationship rsRelationship);
	public int getRsRelationshipCountsByMap(Map<String,Object> map);
}
